﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="kartrisExportData" targetNamespace="http://tempuri.org/kartrisExportData.xsd" xmlns:mstns="http://tempuri.org/kartrisExportData.xsd" xmlns="http://tempuri.org/kartrisExportData.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="KartrisSQLConnection" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="KartrisSQLConnection (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.KartrisSQLConnection.ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SavedExportsTblAdptr" GeneratorDataComponentClassName="SavedExportsTblAdptr" Name="SavedExports" UserDataComponentName="SavedExportsTblAdptr">
            <MainSource>
              <DbSource ConnectionRef="KartrisSQLConnection (Web.config)" DbObjectName="kartrisSQL.dbo.[_spKartrisSavedExports_Get]" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="false" GeneratorGetMethodName="_GetData" GetMethodModifier="Public" GetMethodName="_GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="_GetData" UserSourceName="_GetData">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.[_spKartrisSavedExports_Get]</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Export_ID" DataSetColumn="Export_ID" />
              <Mapping SourceColumn="Export_Name" DataSetColumn="Export_Name" />
              <Mapping SourceColumn="Export_Details" DataSetColumn="Export_Details" />
              <Mapping SourceColumn="Export_FieldDelimiter" DataSetColumn="Export_FieldDelimiter" />
              <Mapping SourceColumn="Export_StringDelimiter" DataSetColumn="Export_StringDelimiter" />
              <Mapping SourceColumn="Export_DateCreated" DataSetColumn="Export_DateCreated" />
              <Mapping SourceColumn="Export_LastModified" DataSetColumn="Export_LastModified" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="KartrisSQLConnection (Web.config)" DbObjectName="kartrisSQL.dbo.[_spKartrisSavedExports_GetByID]" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="_GetByID" GetMethodModifier="Public" GetMethodName="_GetByID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="_GetByID" UserSourceName="_GetByID">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.[_spKartrisSavedExports_GetByID]</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@ExportID" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="kartrisExportData" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="kartrisExportData" msprop:Generator_DataSetName="kartrisExportData">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="SavedExports" msprop:Generator_UserTableName="SavedExports" msprop:Generator_RowDeletedName="SavedExportsRowDeleted" msprop:Generator_RowChangedName="SavedExportsRowChanged" msprop:Generator_RowClassName="SavedExportsRow" msprop:Generator_RowChangingName="SavedExportsRowChanging" msprop:Generator_RowEvArgName="SavedExportsRowChangeEvent" msprop:Generator_RowEvHandlerName="SavedExportsRowChangeEventHandler" msprop:Generator_TableClassName="SavedExportsDataTable" msprop:Generator_TableVarName="tableSavedExports" msprop:Generator_RowDeletingName="SavedExportsRowDeleting" msprop:Generator_TablePropName="SavedExports">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Export_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="Export_ID" msprop:Generator_ColumnVarNameInTable="columnExport_ID" msprop:Generator_ColumnPropNameInRow="Export_ID" msprop:Generator_ColumnPropNameInTable="Export_IDColumn" type="xs:long" minOccurs="0" />
              <xs:element name="Export_Name" msprop:Generator_UserColumnName="Export_Name" msprop:Generator_ColumnVarNameInTable="columnExport_Name" msprop:Generator_ColumnPropNameInRow="Export_Name" msprop:Generator_ColumnPropNameInTable="Export_NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Export_Details" msprop:Generator_UserColumnName="Export_Details" msprop:Generator_ColumnVarNameInTable="columnExport_Details" msprop:Generator_ColumnPropNameInRow="Export_Details" msprop:Generator_ColumnPropNameInTable="Export_DetailsColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Export_FieldDelimiter" msprop:Generator_UserColumnName="Export_FieldDelimiter" msprop:Generator_ColumnVarNameInTable="columnExport_FieldDelimiter" msprop:Generator_ColumnPropNameInRow="Export_FieldDelimiter" msprop:Generator_ColumnPropNameInTable="Export_FieldDelimiterColumn" type="xs:int" minOccurs="0" />
              <xs:element name="Export_StringDelimiter" msprop:Generator_UserColumnName="Export_StringDelimiter" msprop:Generator_ColumnVarNameInTable="columnExport_StringDelimiter" msprop:Generator_ColumnPropNameInRow="Export_StringDelimiter" msprop:Generator_ColumnPropNameInTable="Export_StringDelimiterColumn" type="xs:int" minOccurs="0" />
              <xs:element name="Export_DateCreated" msprop:Generator_UserColumnName="Export_DateCreated" msprop:Generator_ColumnPropNameInRow="Export_DateCreated" msprop:Generator_ColumnVarNameInTable="columnExport_DateCreated" msprop:Generator_ColumnPropNameInTable="Export_DateCreatedColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Export_LastModified" msprop:Generator_UserColumnName="Export_LastModified" msprop:Generator_ColumnPropNameInRow="Export_LastModified" msprop:Generator_ColumnVarNameInTable="columnExport_LastModified" msprop:Generator_ColumnPropNameInTable="Export_LastModifiedColumn" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>